#
# Be sure to run `pod lib lint JBaseWorking.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'JBaseSDK'
  s.version          = '0.1.2'
  s.summary          = '公开SDK'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
  可以用来快速搭建项目用的。
                       DESC

  #主页,这里要填写可以访问到的地址，不然验证不通过
  s.homepage         = 'https://git.oschina.net/appkf'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  
  #开源协议
  s.license          = { :type => 'MIT', :file => 'LICENSE' }

  s.author           = { 'jcooper' => 'jhfappkf@163.com' }

  #项目地址，这里不支持ssh的地址，验证不通过，只支持HTTP和HTTPS，最好使用HTTPS。
  #这里的s.source须指向存放源代码的链接地址，而不是托管spec文件的repo地址
  s.source           = { :git => 'https://gitee.com/appkf/JBaseSDK.git', :tag => "#{s.version}" }

  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '8.0'

  #代码源文件地址，**/*表示Classes目录及其子目录下所有文件，如果有多个目录下则
  #用逗号分开，如果需要在项目中分组显示，这里也要做相应的设置
  # s.source_files =  "JBaseWorking", 'JBaseWorking/Classes/**/*.{h,m}'  
  # s.resource_bundles = {
  #   'JBaseWorking' => ['JBaseWorking/Assets/JBaseWorking.bundle']
  # }

  s.resource     = 'JBaseSDK/Assets/JBaseWorking.bundle'
  s.vendored_frameworks    = 'JBaseSDK/*.{framework}'
  # s.requires_arc           = true

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.public_header_files = 'JBaseWorking/Classes/CrosheSDK.h'

  s.libraries              = 'sqlite3'
  s.frameworks             = 'Foundation', 'UIKit', 'MapKit', 'CoreLocation', 'JavaScriptCore', 'QuartzCore', 'security', 'ImageIO', 'MobileCoreServices', 'CoreGraphics', 'SystemConfiguration', 'WebKit', 'Accelerate', 'CoreData', 'AdSupport'

  #依赖关系，该项目所依赖的其他库，如果有多个需要填写多个s.dependency
  s.dependency 'AFNetworking', '~> 3.1'
  s.dependency 'FMDB', '~> 2.7'
  s.dependency 'MJExtension', '~> 3.0'
  s.dependency 'MJRefresh', '~> 3.1.14'
  s.dependency 'Masonry', '~> 1.1'
  s.dependency 'SDWebImage', '~> 4.1'
  
end
